package com.example.pingtools.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Keep;
import org.greenrobot.greendao.annotation.Property;

@Entity
public class IpDataBean {
    @Id(autoincrement = true)
    private Long id;

    @Property(nameInDb = "text")
    private String text;
    @Property(nameInDb = "ip")
    private String ip;
    @Property(nameInDb = "port")
    private String port;
    @Property(nameInDb = "customId")
    private Long customId;

    @Generated(hash = 644852798)
    public IpDataBean(Long id, String text, String ip, String port, Long customId) {
        this.id = id;
        this.text = text;
        this.ip = ip;
        this.port = port;
        this.customId = customId;
    }

    @Keep
    public IpDataBean(String text, String ip, String port, Long customId) {
        this.text = text;
        this.ip = ip;
        this.port = port;
        this.customId = customId;
    }

    @Generated(hash = 647937149)
    public IpDataBean() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getText() {
        return this.text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getIp() {
        return this.ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return this.port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public Long getCustomId() {
        return this.customId;
    }

    public void setCustomId(Long customId) {
        this.customId = customId;
    }

}
